// vue-router 导出
import Router from 'vue-router';

import Calc from '@component/tools/calc.vue';
import Calendar from '@component/tools/calendar.vue';
import Pcc from '@component/tools/pcc.vue';
import Querybank from '@component/tools/querybank.vue';


const routes = [{
    path: '/calc',
    component: Calc
}, {
    path: '/calendar',
    component: Calendar
}, {
    path: '/pcc/:index?',
    props: true,
    component: Pcc
}, {
    path: '/querybank',
    component: Querybank
}]

export const router = new Router({
    mode: 'hash',
    routes
})